<?php
/*
Copyright 2008, Nathalia


Author:
Nathalia Sautchuk Patrício          (nathalia.sautchuk@gmail.com)

*/
class MainLayout extends TTemplateControl 
{
    public function logoutButtonClicked($sender,$param)
	{
		$this->Application->getModule('auth')->logout();
		$url=$this->Service->constructUrl($this->Service->DefaultPage);
		$this->Response->redirect($url);
	}
	
}
?>
